package com.wing.visual.service;

import com.wing.home.entity.*;
import com.wing.visual.entity.*;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 采购可视化
 *
 * @author xiayang
 */
public interface PurchaseService {

    /**
     * 采购统计
     *
     * @return
     */
    Map<String, Object> purchaseTotal(Map<String, Object> params);

    /**
     * 订单进度
     *
     * @return
     */
    List<PurchaseOrderRate> purchaseOrderRate(Map<String, Object> params);


    /**
     * 采购订单类型金额统计
     *
     * @return
     */
    List<PurchaseTypeAmountTotal> purchaseOrderTypeAmountTotal(Map<String, Object> params);

    /**
     * 供应商采购订单金额统计
     *
     * @return
     */
    List<SupplierPurchaseAmountTotal> supplierPurchaseAmountTotal(Map<String, Object> params);

    /**
     * 采购金额曲线图
     *
     * @return
     */
    List<PurchaseOrderAmount> purchaseOrderAmountGraph();


    /**
     * 采购订单物料统计
     *
     * @return
     */
    List<PurchaseMaterialTotal> materialTotal(Map<String, Object> params);

}
